Skip to content

Handle process creation differently for Windows and Unix#75

Open
pashneal wants to merge 1 commit intobattlecode:masterfrom
pashneal:patch-2
Open

Handle process creation differently for Windows and Unix#75
pashneal wants to merge 1 commit intobattlecode:masterfrom
pashneal:patch-2

Conversation

@pashneal
Copy link

@pashneal pashneal commented Jan 11, 2026

Unix systems do not support the creationflags parameter - This PR attempts to fix that by using the start_new_session parameter on non-Windows systems instead.

I get the following error on my machine

  File "/usr/lib/python3.12/subprocess.py", line 855, in __init__
    raise ValueError("creationflags is only supported on Windows ")

Linux systems do not support the creationflags parameter - This PR attempts to fix that by using the `start_new_session` parameter on non-windows systems instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant